package com.banmao.algorithm.No901To1100.No904;

public class Answer {

    public static void main(String[] args) {
        int[] fruits = {3,3,3,1,2,1,1,2,3,3,4};
        int result = Solution2.totalFruit(fruits);
        System.out.println(result);
    }

}
